package com.example.fx.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.base.entity.HistoryEntity
import com.example.base.entity.LoginEntity

/**
 * 数据库
 */
@Database(entities = [HistoryEntity::class,LoginEntity::class], version = 1, exportSchema = false)
abstract class AppDb:RoomDatabase() {
    abstract fun getHistoryDao():HistoryDao
    abstract fun getLoginDao():LoginDao
}